Update BooleanType.php

Changed to call platform specific Boolean conversion