Improved cross compilation