added kqueue support to the fsmon interface