fix buildswift script

now also accepts 'false' values :D