Altering the > to -gt to check number of processors

Using > to check if a variable is greater then another
doesn't seems to work among distros.
Using -gt instead of > ensure that will work in different
distros that may implement different bash versions

Change-Id: Ie270ad8aa512807fbce3052018e9ce0db7c238b4
Merge "Altering the > to -gt to check number of processors"