Add a minimal implementation of ranlib.