fixed issues with static link