Just out of curiosity, why the quotes around the argument? If it's because of the `.`, how about just `-DoutputDirectory="./lib"`?