[Fix #522] Properly escape shell special characters
Merge pull request #523 from ackalker/fix-flycheck-compile

[Fix #522] Properly escape shell special characters