manage extensions

Fix https://github.com/asciidoctor/asciidoctor-ant/issues/10