Added lib patches