[native] make output a static library
Summary: this will make cargo produce a .a file that can be linked in Cmake/Xcode
Test Plan: cargo build, checked target directory for .a file
Reviewers: tomek, karol, atul
Reviewed By: tomek
Subscribers: ashoat, abosh
Differential Revision: https://phab.comm.dev/D4935