Allow building libXNVCtrl.so

By specifying XNVCTRL_LIB_STATIC=0 during make.
Use system libraries for jansson