Use pragma message instead of warning for msvc, fixes #178