Turn #defines into constants, and add -noconstants to allow disabling that