[core] make PACKAGE_BUILD_DATE an embeddable string constant