Fixed cmake flags, reverting fe11a1bc90e47a0ea39c4e47878c828162e6c729