fixed piface initialization regression
bumped to v0.4.1
added typedefs to ffi bindings