Build dylib on OS X too