more attempts to cleanup foundation.a makefile