a fatal error occurs when initializing fontconfig font cache on
windows. The problem is due to access(.., W_OK|X_OK) call(s) in fccache.c
permission (X_OK in mingw/cygwin headers) is not a valid parameter, and
it causes a fatal error terminating the program.
A possible workaround on the capplication side is to re-implement the access(..) function to mask out the X_OK (01) bit from the permissions
bitmask, and then call _access with corrected permissions.
removed all of X_OK thing from the code in git. it should works now.