Implement Beep() API
fixes #277 Build fails on mips architectures
it is really illumos/solaris
You can also use your local clone with git send-email.