Add a DUB configuration to compile as a library without curl support.