build changes

@quarnster 
Will leave this to you to pull the trigger, would be interesting to see if it builds OK in OSX.

Added patch for gettext to speed up compilation, gettext-dont_build_docs_and_examples. Credits to the guys at Openelec for that.