Cross compilation

Some work on cross compilation has been added.