You have to rotate the whole machine so its facing 90degrees. In Hammer...
This also happens when making Func_tanks or turrets.. so. yep that should fix it you see just rotate it in hammer so its facing 45degrees from the way it should be going.... I can't explain it any better... Ssoo
Experiment.