Added library level MESOS_MODULE_LIBRARY macro.