Run prepare command

This is needed to resolve https://github.com/realm/realm-cocoa/issues/1197.