fix asset loading for make and xcode