unneded libs removed
fixed some 32/64bit compatibility warning on windows