it doesnt matter how you compile, you can go through radiant or write a script to do it. in your case I'd recommend radiant I dont know why your way fails. I think you need to read some mappers setup tutorial or something....