Refactoring the premake4