minor gpio cross-compiling improvements