use option in cmake & enable run of test on travis-ci
try to fix some lsl issues