use project.version
fixed some compile errors that only happen in standalone build