fixed compile on ubuntu