Why it’s gotten harder to buy a second home