fix compile on NodeJS