Prevent compile from running twice
Merge pull request #15 from ef4/double-compile

Double compile