Turn off pedantic compilation on Linux

Too many stupid warnings about stuff which doesn't really matter.
Fix warning about implicit declaration of readlink