Removes qpid patches and adds runtime checking of dependencies