support recursive on linux platform