get rid of win_compat.h (not needed) and macos_compat.h (because I cannot test it)
get rid of PLATFORM_* defines
complete removal of the PLATFORM_* macros and further cleanup
load crt dynamically from dll and further cleanup
first try to reimplement filesystem functions in c++