secure warnings fixed. x64 linking fixed