issue #1683: Refactoring CCFileUtils::setResourceRootPath for BB, Linux, MAC.