Fixed UNIX dynamic library building