Fixed some bugs with regards to usage on solaris 11
fixes for nicer build scripts, at least for common stuff, and a new python install target, ruby and others will be following suit soon.