worker_task uses src constants (win version)

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>