BuildSystem rewrite: moved arch-specific stuff into separate files
OSX: corrected Makefile name