removed superfluous configure macros.
Improved the cross compiling example