more tweaks of foundation makefile (posix/linux) - and did same hack to frameworks makefile