[core] add PACKAGE_NO_BUILD_DATE define to disable PACKAGE_BUILD_DATE