Fixes find method
Improves Linux compatibility