Lexer: check unterminated regular expressions and quoted symbols. Fixes first part of #59.
Link to libm in linux. Fixes #60.