Added a cross compile function for go