Fix sounds under windows and osx (fix #356)

Right, fixed