add linux build
fix data port allocation
fix build_path