Fixed issue with cross-compiling