Fix copy constructible detection

The copy construction detection was broken
for the cases when a class has a move constructor
and a deleted copy constructor