Solve error where compilation hangs.

Fixes:
https://github.com/gitlabhq/gitlab-vagrant-vm/issues/22
https://github.com/gitlabhq/gitlab-vagrant-vm/issues/24
https://github.com/gitlabhq/gitlab-vagrant-vm/issues/13