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

Produce dylib and rlib