Fixed Makefile for parallel build.

The problem was noticed and fixed thanks to my sponsor,
Anton Gladky. Thanks!