Fix daemonmap linkage with SDL 2.