gvfs: Fix build with lightWeight=false.

This fix allows building with lightWeight=false which includes support for SMB backend.