Fix configure.ac for crosscompile