fixed build issues with linking test driver