bug fixed: ~ is not expanded on makefile