fix macosx build
simplify premake
simplify premake config
Merge branch 'simplify_premake'