make: Attempt to fix compilation on all platforms. Yes, a gambiarra :-)