Sjs/fix compile warnings

resolves build warnings of https://github.com/pkrumins/node-png/issues/25