Fix linker error on Mac.

Note that the version-script flag was removed. Need to determine
appropriate platform (possibly compiler) in makefile.