Try with -Dlibnice=enabled -Dlibnice:gstreamer=enabled.
-Dlibnice=enabled -Dlibnice:gstreamer=enabled