Under Cal. Bus. & Prof. Code § 7031, a contractor must be licensed at the time work is performed under a construction contract in order to sue to collect compensation for that work.