make walkdir compile in posix 2008