Adjust new project compile options

Adjust new project compile options...
Adjust linux shell scripts...
Thanks to Stephano!