update for new piston changes
Merge pull request #7 from globin/compat-update

update for new piston changes