Use -fpic instead of -fPIC, this might produce smaller/faster code and it eliminates some warnings on cygwin-gcc.

Tested on Cygwin and FreeBSD-armv6/amd64.