fix cross compiling on linux
Merge pull request #502 from sssstest/master

fix cross compiling on linux