fix some warnings; add a (wrapping for now) function for aud base dir