Fix broken ternary operation
Use latest buildscript