Fix broken vdb_test rule on non-windows
Fix unused variable warnings
We now compile using C++11 on all Unix platforms.