Updated premake4.lua to work on OS X