Adding missing crypt.h check.
Use compile to check for local_options instead.