node-ffi: fix Function overridings