fix hardcoded tables compililation caused by missing math constants