Reduce Warnings

- default compiler version to 1.5
- fix trivial warnings