Ubuntu compilation fixed