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