restore externalisation behaviour with gcc/clang compilers