build: fix cross-compiling VME