write a warning message when compiling from a non-git directory