fixing api usage due to api changes
Merge pull request #4 from mrkrstphr/fix-api-usage

fixing api usage due to api changes
Merge branch 'master' into post-build-event