Fix: Check C++ designated initializers support before compiling 'hello.cxx' test

Fixes #557