Fix BSD sed error reported by Yue Du

This change is related to LZ4 issue #14.

 - Add more unique pattern to line recognition
 - Change Extended Regular Expression to Basic Regular Expression
Merge pull request #15 from t-mat/fix-bsd-sed

Fix BSD sed error reported by Yue Du