Assorted fixes

* cmake CMP0054 and CMP0045
* aarch64 build
* portable code options in PCH cmake
* some of gcc 4.9 warnings
BTW, target branch is 2.4. There is no IPPICV related code really.