add NOPNG to cmake to explicitly disable PNG dependency
reorganise osx detection and variable initalization (simpler crosscompiling) in cmake
[patterns]
**.h = native
**.c = native
**.cpp = native
**.lua = native
**.txt = native
**.pas = native
**.inc = native
**.hs = native