changing the system version intrinsic to user defined since cmake seems to fail at predefining the system version
fixing a couple mistakes and defining the system variable at config-time