Merge with phonegap
Fixed the issue with implictly turning on debug for -c instead of -L