- make it more fit with template
- add changes for dynamic linking
- set GIT_DIR=/dev/null
```
Failed to add dependency on the git state: failed to canonicalize ~/MINGW-packages/.git\logs/HEAD: Системе не удается найти указанный путь. (os error 3). Git state changes might not trigger a rebuild.
Failed to add dependency on the git state: failed to canonicalize ~/MINGW-packages/.git\index: Системе не удается найти указанный путь. (os error 3). Git state changes might not trigger a rebuild.
Failed to add dependency on the git state: failed to canonicalize ~/MINGW-packages/.git\logs/HEAD: Системе не удается найти указанный путь. (os error 3). Git state changes might not trigger a rebuild.
Failed to add dependency on the git state: failed to canonicalize ~/MINGW-packages/.git\index: Системе не удается найти указанный путь. (os error 3). Git state changes might not trigger a rebuild.
```