added target_platform to cflags