allow nested parenthesis in matching
add missing libraries to link with v8