Add CMake options to enble/disable build-id and source-id.