add syntax checking

1.8.7 and 2.0 are the SLE11 and SLE12 versions, so those are the most interesting ones for us