libnm is not actually required, but rather used only to determine the
value of NM_VPN_SERVICE_DIR. So it's fine to build with NM support but
without the lib. Since we already provide a default for the parameter
print a warning instead of a fatal message in case the value couldn't
be determined.
(cherry picked from commit 1256297108)