Update configure.ac with lib deps