fix specfile so that static builds work