fix pragma under windows