unittests: make: Fix unittests for branch changes

Changing between branches in git typically leaves directories empty and
does not remove them. If you have different unittests in different
branches this leads to an error in building them, since the current
configuration expects a Makefile in all `tests-*` directory. This change
configures Make to search for a Makefile in `tests-*` rather than just
assuming that there is one.
Merge pull request #1645 from authmillenon/unittests-empty-dirs

unittests: make: Fix unittests for branch changes
tests: fix mutex_unlock_and_sleep pids