adjust build to api change
Merge pull request #41 from dart-lang/build-fix

adjust build to api change