fixed compiler cache issues when switching compiler defines