Only use dylib on Darwin

Elsewhere, let's use the '.so' suffix as it's the one used by the other
unices.
Merge pull request #29 from carlosmn/dylib-so

Only use dylib on Darwin