fall back to polling in file monitor if we are not on linux