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

This reverts commit 678b76c403fde21bdbffa62002798e869e2627bc.