Setup postinstall to compile

postinstall should only run when installing from git