[testsuite] - only compile the nfs test if configured with nfs support - fixes #15356