issue #2305: use 4.7 toolchain to fix compiling errors