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
Thanks, done.