Update package dependency constraints to latest versions on hackage
Fix compilation warnings