Fix check if $php::composer::max_age is a positive integer

Closes #40.