Revert "change relative path of configure PREFIX to absolute path"

This reverts commit 678b76c403fde21bdbffa62002798e869e2627bc.
cd fails when $2 directory not created