Added linking against m and dl