Libraries raise pay, to restore some hours