Fixed premake not working (error in premake5.lua).
Fixed compilation errors.