move path defines up to fix cache folder path