Fix a bug with the FreeImage header on OS X.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Separate MapView in two classes.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>