added conditional includes to config.h
file_map now works on empty files, file_unmap reports errors properly