Added mac-compatible library