Ensure Unix Makefiles works on Mac

OSX_TARGET CMake variables need to be used with Makefiles too