ramsmp: Fixed cross platform builds
iw: use CFLAGS