Adapted configure.ac to Linux