make compile work on ubuntu