Allow build-create-sql and build-update-sql tasks to run when weaved classes are present
(cherry picked from commit 11156c5)