Fix app installation on Linux systems

Simulator uses the TmpD  loaction set by Linux systems rather than using a predetemined Value(/tmp in this case).