modified configure and makefile for handling mimedb update