Fix $PREFIX initialization