Remove undefined variables from Makefiles (#49)

Can we close this because it was fixed by #53 ?