fix deprecated attributes
Merge pull request #43 from scalp42/build_essential

fix deprecated attributes