Detecting mac framework

According to https://github.com/andelf/rust-sdl2_mixer/issues/4