update and fix compiler options
Merge pull request #1 from TripNRaVeR/master-43

update and fix compiler options