dbcore.cpp * .h header include cleanup
linux build fix