The file wp-admin/includes/plugin.php
is not always included. You may have to do this in your plugin.
And your Location
header is invalid: You have to send a complete URL.
You should use:
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
When do you call this function? Maybe too early.