Fix platform math header