Fix libs dependency,and detect sass