solve move emulation issue in MinGW
add cmake build script