[all] Fixes and updates linux Makefiles.