Had a typo, premake.lua instead of premake4.lua.