Fix build fail when Resources folder is missing