define feature macros on platforms which really needs.