#41 fix for making rpm with static build