include devtools in libraries, add missing require