Update Makefiles such that test depends on local copy of lib and not one placed by make install