Some cleanup to the premake build system and introduces compile time options