add configure checks for dtk