+ Added a --libdir switch to the configure and build and fixed test case compilation