fix compile error due to missing ENOENT definition