Can anyone tell me what I am doing wrong?
You're using PM instead of MPASM to compile your code

if you want to use PM, you must use the @ DEVICE directive instead.

See the Faq about that. There's a whole thread about how to set config fuses in your code.
http://www.picbasic.co.uk/forum/showthread.php?t=543