If conditions for platform compiler added