Updated the docs and added cross compilation support.