Fix platform support