add script for cross compilation