Adding the dl library only on UNIX platform