Move constructor compatible with Visual Studio