Use -fpermissive if compiling with GCC.
Works around GCC bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67888 when compiling Module.cpp