Added clauses for different platforms.