add compiler_flags '-DWITH_TLS'