removed trailing whitespaces
fixed debug and optimized linkage on windows; before both were linked in release and debug builds which lead to using the release runtime in debug build