Build fixes

Fix the link flags for vdb_view's usage of libXrandr.
Add more configuration knobs to the Makefile.