Build: Escape period in regex (fixes #1428)