Quick-and-dirty patches to cross-compile for linux-arm