Fixed make parallelization bug with apr.h.

If starting with a pristine git checkout (thus no
3rdparty/apr/include/apr.h generated yet), parallel building ("make -j
N" where N > 1) used to fail.
Merge pull request #24 from mendel/fixing_make_parallelization_bug

Fixed make parallelization bug with apr.h.