This is a commit with necessary modification that the program compiles without the complain of Berkeley DB 5.3