Modify build to not always append RELEASE/DEBUG flags, only use RELEASE/DEBUG flags as defaults if they haven't been overriden
Possible undefined variable usage errors triggered by high optimization levels