add configure check for working compiler