Kennedy Funding has closed a land loan that will help a developer advance a mixed-use project in northwestern Peru, the Englewood-based direct private lender announced.