add braces around empty if statements

was failing in Linux on "./configure --enable-opensslextra --enable-dh"