add --prefix for package installation

the sysconfig template is used for package installation types and would ignore the prefix currently