[configure] Make libwspcodec dependency conditional

Signed-off-by: Martti Piirainen <martti.piirainen@oss.tieto.com>
Merge pull request #185 from marttipiirainen/next

Make libwspcodec dependency conditional