Make math constant lookup case-insensitive in the function compiler

fixes #20