Tested gmad with and without __structuredAttrs.
Building it succeeded on master with structuredAttrs, but the log output
showed that the configure flags were not passed correctly previously.
Adds a configure phase for packages using premake.
premakeConfigurePhase runs the correct premake version for the premake
you are using (see premake_cmd).