improved linking

linking and debugging with visual studio is now possible