Link to necssary libraries on Linux.