Fixed compile flags error