Add curator to SBT library dependencies and fix build error.