attempt to fix compile error with gcc