added g++ settings, modified mpd to use a different device