BUG: Fix wrapping with dimension 2 only

When wrapping with dimension 2 only, we need to disable all
these classes, else the cmake setup will fail.

Change-Id: Icaeb7f9a8a0a38bb6f5f160b7dd3d40b7d4ad80b
Merge topic 'Fix2DWrapOnly'

82c78eab BUG: Fix wrapping with dimension 2 only