Expose libc through FFI
Add preliminary BLP support