fix for building on ubuntu