Add cache() to speed up qmake.