build.sh script fixes

These changes improve the reliability of Ubuntu version detection (e.g., on 12.10 Quantal) and modifies the ovs module installation script to match the current upstream module name.