fix compile error under linux caught by type #elif.