Fixed compile flags