make g++ ignore the inhibit-reflection flag