Changes for ppc linux.

Some minor changes were needed for ppc linux, also added some configure script i had floating around, perhaps it would be best to add an option around this, like "--optimized-local-build", perhaps?