[fix] binding.gyp and set -pedantic option to compilers