calc: Fix the build on Linux