pe_sections_count: Change return type from uint32_t to uint16_t.
Be as precise as possible about type usage.
Pointer arguments should be const when possible.
Linking now honors LDFLAGS for Darwin and Cygwin.
Rename pe_load* to pe_load_file*.