Updated GL check macros to build in release again