Fix build failure on FreeBSD.
Need to define QUrl in mediafiles, this worked on Linux for some reason.