Issue #92 Eliminates system bell errors on osx.

Prepended an 'if' to remove error bell on osx systems.