Modularizing the Makefile caused some variable expansion problems on non-GNU makes