removed <windows.h> include from common.h and added it only where needed