The temperature for an apiary is determined by the biome it's in, not the surrounding blocks, although I know of two ways around that:
1. Use an Industrial Apiary (from the Gendustry mod), which allows upgrades to change the effective temperature and humidity for the bees.
2. Build a greenhouse to put the apiary in (which allows tweaking the effective temperature and humidity inside, and is hopefully can be built earlier than an alveary - I generally play in 1.7.10 so I admit I'm not familiar with the recipe for it)