Fix compilation in Unix