Added compiler flags and removed unused improt statement