change over from msvc to gcc