Feature makefile refactoring + osx working (almost)

this moves the common parts of the different linux config.make files to a common file. probably needs a different organization but by now we have the the common parts identified

also osx is working, but still needs the bundle creation phase or at least use install-name-tool to tell the exe where the dynamic library for fmod is