Bump version in makefiles to 0.2.10-dev.
Add an option to produce debug symbols and override the optimization level to the makefiles.