fixed compilation in ubuntu