kbuild: change kbuild to not rely on incorrect GNU make behavior