Feature/makefile fix

Should fix the issues of compiling src/test/*.stan files.