fixing configure for OS X
using the json file as an input
making the scrips executable
ignoring the generated json file
generating the json file based on the host
installing the json file generated