Cross-compiling fixes and improvements:
Introduce $sysroot and use it for all on disk paths if set
Separate remote host testing from usecrosscompile