added fsnotify_osx, and changed fsnotify_bsd to only be used when cgo is not present