Linking

Now links properly with static library