#184 Review PR

This PR is created for initial reviewing of the changes of #184 because #184 includes many external changes and hard to review.
This seems to be a test of mingw64.cmake and should not be kept in the final commit.