Make executable
Fix deprecation warnings on Linux