Fix error in release flags and disable debug for libflac