test for libscrypt_scrypt() fails

On a Debian jessie system, possibly due libscrypt.so thinking that the "log" function is undefined. (Running nm -D locate libscrypt.so.0`` confirms this.)

There's a config.log which shows this happening attached. (See line 4311.)

Nick thinks we need to add -lm to the compiler flags for the configure test.