Enable building shared libXNVCtrl.so library

Enable building shared libXNVCtrl.so library by passing XNVCTRL_LIB_STATIC=0 to the make command.

Would be very nice to have for distributions.

Thanks,
--Simone