gcc: rebuild for dependency changes