unix compilator errors - fixed