Remove pure, static, const
Modify test
Replace fail_unlessi! to assert_eq! or assert!
Modify Makefile for multiple platform