Add function to get default math library implementation