Fixed path issues when creating packages (rpms and such)