Remove those compiler macro definition. For AOMD put special guard to avoid usage of this library in parallel