Set up native lib path properly for test, and fail if lib not active.

Update dependant libraries.