Don't assume bash and use `INSTALL_DATA` rather than `cp` directly
Use `gcc` rather than `ld` directly on Linux for building shared libraries.

Closes #14 and #15