use build constraints
Merge pull request #15 from jweslley/build_constraints

use build constraints