bootstrap for cross-compile