Linux compilation targets improved.
Added debug target to the Code Blocks project.
Removed useless flags.
Added script for linux.