Fix test compile target and script

The lcfit-shared target no longer appears to exist, and I updated the soname in the test script to reflect that as well.