libsndfile: Fix linking with external libs.