Update build to generate sources on project build