fixed cmake bug unix