Fixed JNotify load detection

This ensures that dev mode works on FreeBSD.