build: Restructure check targets

Change-Id: Ia1c4f8e53f73794934b3c28fb58debafa9d43b2a
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>