buildtools: Add --enable-debug option