Build system and audioplayer fixes