Fix: bug that static link does not know constructor
Add test binary for static link
Minor bug
Update static fix: no need to call dummy function
gitignore: add tests/*.static
comment for the trick to enable constructors in static lib & fix coding style