refine the macros for windows of srs-librtmp