nodeLoaderLibary should not be a shared_ptr because it will collide with the autorelease pool of cocos2d-x