Fix compiler/linker errors on dev_22 when built with -DUSE_9P=OFF.

Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>