fix two compiler definitions