fixed OSX profile activation

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>