fix for msvc fail with noncopyable types