Fixed bug by using -fgnu89-inline