Fix again for API error

It's very annoying when you're crosscompiling. Coverity submitter kept
complain about it can't capture log file from compiler...

Signed-off-by: liushuyu <liushuyu_011@163.com>