support for 4.7 toolchains