Make gfio build with --build-static

We can't build the gtk app statically, so filter out the static part
for just that. Fix up the Makefile so that fio doesn't include
all the gtk libs as well.

Signed-off-by: Jens Axboe <axboe@fb.com>