Tweak Makefile for building on BG/Q

* Omit some gcc flags not present on Power 
* Allow additional C,CXX,LDFLAGS to point to custom dependency install path
You mean -momit-leaf-frame-pointer here? Can you comment here something like "ppc64 doesn't support -momit-leaf-frame-pointer"