Update configure.ac

Added compiler checks. Needs more work. Buggy...