build: fix empty --with-*= arguments