fixes #9: pass dependencies in to foreign functions to enable DCE
Merge pull request #10 from michaelficarra/proper-ffi

fixes #9: pass dependencies in to foreign functions to enable DCE