You need to disable specularity, build the cubemaps, switch to whichever mode you're not already in, reload the map, build the cubemaps again, re-enable specularity, and then reload the map again to test it. Whatever combination of commands you feel most comfortable with that does all of that should do the trick. I've gotten used to exiting to the main menu to switch modes or toggle specularity and then get back in the map from the Create Server menu, but that's more of a personal ritual.
The easiest way to tell if you've successfully built cubemaps in both modes is that in LDR mode, the process will go very quickly and involve screenshots flashing so quickly that you can't tell what any of them are, and in HDR mode each shot will fade from an overexposed image to a normal looking one and the game will probably appear to freeze eventually. If you've seen both, you've built both and you only need to test in one mode to make sure they were committed to the map.