tools: dpkg package, fix CFLAGS for tools