Fixed PSP cross compilation issues.