Config: use localedir and datadir instead of only prefix