Changed name of common build function