dxr rules added; cleanup of various flags for osx/linux