Fix building with RTools 2.15 toolchain