Check system() return values

system() is declared with warn_unused_result, so we actually need to use
its return value to avoid the warning.
Increment the version to 2

Instead of following MAJOR.MINOR, we will just use a single version
number for now.
Remove MAJOR/MINOR version code