Add lib prefix onto library name when building for OSX or Linux.