Fix broken build with class4js