fixed building on ubuntu