final compatibility fixes (builds and passes specs on MacOS 10.9)