fix build with native code

Install .cmx files and .a files
Merge pull request #1 from avsm/patch-1

fix build with native code