Prevent crashing on unsupported platforms #43