chore(cleanup): Fix warnings in lib/tools