Unbreak building with JSON support

Somehow I missed jansson as build dependency