compile_module.sh renamed to apple.sh. Added ubuntu version detection.