Fix cross-compiling.