Simplify dependencies build.