Fix refactoring uglyness.

I mean, a constant string substition? Really?
Remove random math.h dependency
Fix regression caused by 5e5e7e6

We need to use the source operator on the CC script as if we don't
bad return codes won't get forwarded and the script won't get aborted.