issue #1859:fix compiling error of AssetsManager.cpp
issue #1859:fix compiling error of ScriptingCore.cpp
Merge pull request #2574 from minggo/AssetsManager-asynchronization

Fix compiling error of AssetsManager project on windows