ask ld to optimize memory instead of speed when building the tests