Adding support to specify autolibs mode