* Now using a configuration header
* Fixing some bad include sentences
* Modified to use RW_LOCK whenever POSIX threads exists.