Fix buildURL wrt running the app on a prefix