Adds crossplatform premake makefile, changes to appease the GCC/LLVM compiler