BUG: fixed unix compile error