Added checks to determine if the cc or ld task needs to be performed.