BLD: fix build caching