Fix compile definitions