fixed build issues on ubuntu from last commit