I really don't think your mosquitoes should be attracted to your compost pile, there is nothing there for them unless you have standing water nearby?
Anyway, lemon balm and garlic and two good organic ways you can repel mosquitoes. Just add to the top of your compost
. You can also plant/spray around your house to keep them away, we're planning a full lemon balm border for next year!