Fix build on darwin

It wasn't defining `max_filepath` due to the fact that it was neither win32 nor linux.