handy regexes for creating boilerplate external dll declarations