Fixed build process with onejs3 upgrade