fixing default paths when installing from packages