Removed unused modules and deprecated pcre from libraries