Fix for unsupported platform error