Move generic makefile configs into makedefs

Required to build correctly the FOX GUI on Mac OS X