Do not forget to link with libsndfile on Unix.