Use target time file checking, not start time

Using the Makefile style conditionals to test if the project has
directories/files existant is wrong because dependancies of the dialyzer command
may create them. Use shell conditionals instead, which are checked when the
target is run.