Fixing odd if-stm issues in Makefile