Unlink install_dir before run compiling

BOSH does not clean up `install_dir` before compiling because it's
always clean as compiling is always executed a new VM.
Use linked directory names to determine package versions

`.version` file is not used anymore.