Fixed gcc compile error