Take care of base path during build (index).