Enabled DEFINES_MODULE flag in project build settings.