added sed statement after %configure and altered make statement - with thanks to Michael Schwendt for suggesting this fix