Add configure options to disable dependencies