scrypt fails to work during the test.

OK, you need to change the configure script or something, somewhere. I don't know where, but you have to make it load the realtime clock library. By adding in the flag "-lrt". I don't know where this goes in your extension, but without it, it'll fail.