In a future version, we could change it to base only on the generator (g++, VS, etc). That way, we would be 100% sure not to miss a case.