Fix stop scripts, patch and copy patched jars before building opentsdb