Add support for LTO and sanitizer variants to the driver and bootstrap script