Revert "Fix generic build"
Revert "Fix generic build"

This reverts commit addf2462161bd314f53b2799b79544e4bdc5e032.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core