Fixed up reference conditionals for project files.