Updated build script and project properties to address warnings and errors