Fix for cobra test for VPATH builds
Merge pull request #293 from pbauman/vpath-fixes

Fix for cobra test for VPATH builds