Fixed linking in Linux.