Fix build time assertion macro for g++