+ Fix undeclared variable error.
+ Add option to build only selected variants.