Extend build system for pi cross compiling