Cross platform compilation