fix premake script to compile on osx