removed waffle dependency,invoking jna directly.