make davilk main compiling successful.