Fixed build files

Corrected version and variable names in build file