Do not cache the precompilation method.

Doing so makes it impossible to compile pike unless the first detected
method can handle everything in post_modules (basically, you need a
modern 7.9 to compile pike 7.9)
Fixed (hopefully) path uniquification in precompile.sh.

Removed the unused code