Standardize build order (derived from XML).
Update generated compiler flags.
Merge pull request #173 from evoskuil/version2

Update generated compiler flags and standardize order.