Fix namespace resolution on partially specified constructor calls