[PATCH v2] tools/nolibc: add support for constructors and destructors