fix standalone build
1.0.4