Check Ubuntu release for OpenStack builds

Since the current scripts only support Debian Wheezy and Ubuntu Precise,
this commit also check that Ubuntu is the 12.04 version.