Fix standalone compilation of sonic lossless encoder.