make compilation with OTP R15 and R16 possible
Merge pull request #10 from michalwski/master

make compilation with OTP R15 and R16 possible