switch link order for static library YARP_serversql, fixes #251