Fix GHC warnings