fix a bug when building AssetsManagerTest