fix error message for no matching overloaded constructor
potential fix for #1415