refactor build infrastructure
  * perl based
  * rework platform depend build scripts
version 1.2
version 1.3.dev