Produce dylib and rlib
Merge pull request #41 from larsbergstrom/dylib

Produce dylib and rlib