partially address #8084, win build failure after make cleanall

due to missing openlibm.a - a few other makefile rules still need to be made more robust