fixup libports (libc-gen on ARM)