Missing linker flags

Added security, UIKit frameworks.