Remove broken check of kde function. Fixes #376.