Merge pull request #40 from linqcan/fixes

Add env variable __ANDROID__ to conditions
Merge pull request #41 from linqcan/fixes

Fix typo in variable __ANDROID__
Add link flags