Fixed target platform mismatch warning.