Reduce dependencies of the 'check' target