Test math library build process