Fix platform definitions