Use library commandline or nocommandline in configure