Cloned PlayfulGod's libaudio setup