Fix const herp derp by defining macros