A manufacturer of exterior building products will invest $4.9 million to expand its Rocky Mount location, creating 50 new jobs, the governor’s office said Thursday.