detect runtime support