Remove old style casts

    - Allows use of -Werror=old-style-cast in gcc