Fixed issue where version parameter was not evaluated correctly and some love for ancient Centos versions

Signed-off-by: Patrick Van Brussel <patrick@inuits.eu>