Change build dependencies

flexc++/bisonc++ are only needed for make dist
libjsoncpp-dev is required for the submitclient