Fix build at win XP. Call external command at build run only.