Add ubuntu compiled version of dependencies. Some path related bug fixes.