change NSCParameterAssert to CWAssert
fix clang ios error
make sure block timer is included in ios