(partially) added Ubuntu 14.04 to the build system
fixed Variant::Custom handling in some switches