Fix build on 0.24.X

Making the build work with a custom local maven repository.

Change-Id: If34d39a8b38371e0f0eff4f082a6389486ed1be4