trying to fix compile error on linux