Update check and curl
Removing useless OS print
Really fixing CMake flags (don't override them anymore)
Simplify fPIC targets
Simplify plugins generation
Remove export-dynamic, it is superseeded by rdynamic flag, automatically added when ENABLE_EXPORTS=On
Fix pg missing flag and cosmetic changes
Merge pull request #597 from LocutusOfBorg/updated-curl

Update check and curl
Merge pull request #596 from LocutusOfBorg/fix-flags

Fix flags