unless you can come up with something better for implicit building, this could work:
if [ "$(shell uname)" = "Linux" ]; then make -C $(dir $@) ; else ;\
echo JsonSchemaBuilder not found.. ;\
exit 1 ;\
fi