Gcc check first for framework linking.
Allow user to select if the library should use framework.
Update and factor SDL dependencies definitions.