Add rwlock to Makefile.