implemented ZVM_PREFIX handling, better suited for existing builds