3.8: fix build with overly long paths

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>